.user-center {
    position: relative;
    cursor: pointer;
    padding: 8px 16px;
    width: 100px;
    text-align: center;
    box-sizing: border-box;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background-color: white;
    min-width: unset;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 999;
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: white;
    box-shadow: -2px -2px 5px rgba(0,0,0,0.05);
}

.user-dropdown.show {
    display: block;
}

.dropdown-item {
    padding: 12px 0;
    color: #2c3e50;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.dropdown-item:hover {
    background-color: #f5f6fa;
    padding: 12px 0;
}

.dropdown-item:first-child {
    border-radius: 4px 4px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 4px 4px;
}

.dropdown-divider {
    height: 1px;
    background-color: #eee;
    margin: 0;
    position: relative;
    z-index: 2;
} 